Skip to main content

Multiprogress

The multiProgress is a progress tracker with multiple progress bars that stimulate finding best plan. At certain points, it can prompt the user with a Yes/No question to add more interactivity.

Step Config

KeyDescriptionIs Optional?
typeShould be multiProgress to differs from other stepsRequired
stepIdUnique step identifier.Required
backgroundColorThe background color of the page.Optional
titleHeader text to show on top of the step.Required
titleColorColor of the title.Optional
subtitleText to show below the progress bars.Required
subtitleColorColor of the subtitle.Optional
useHTMLWhether the entered content will be contain HTML tags like <strong/> or plain text.Optional
dotsColorDots in which represents undone bar color.Optional
hideOverlayWhether to hide the prompt overlay or not.Optional
barsThe progress bars to be added. Max 7 bars can be addedRequired
hideProgressBarBoolean to hide the progress bar on that step if needed.Optional

Bar Config

NameDescriptionIs Optional?
labelText that will added inside the progress bar.Required
labelColorColor of the label.Required
backgroundColorFilledThe fill color of progress.Required
backgroundColorEmptyThe fill color of no progress.Optional
borderColorEmptyBorder color of progress bar.Required
animationarray the describes the progress animation.Required

Animation Config

NameDescriptionIs Optional?
toThe percentage in which the progress should advance to in this stepRequired
durationAnimation duration.Required
delayDelay before animation starts.Required
promptPrompt popup at the end of the animation.Optional

Prompt Config

NameDescriptionIs Optional?
imageImage to be added to the prompt.Required
imageWidthThe prompt’s image widthOptional
titlePrompt question.Required
titleColorPrompt question title.Required
backgroundColorBackground color of prompt popup.Required
choicesAnswers that the user might choose. Max 2 choices.Required

Choices Config

NameDescriptionIs Optional?
textAnswer text.Required
colorAnswer text color.Required
backgroundColorButton background color.Required
hoverBackgroundColorButton background color on mouse hover.Required
hoverColorThe text color on hovering a choice.Optional

Example

Multi-progress (step between interstitial steps)
{
"id": "mind_app_id",
"journeyId": "SaDJUYAjRv",
"language": "en",
"appId": "co.thefab.mind",
"seo": {
"title": "Lumiere",
"favicon": "https://c.thefab.co/web-onboarding/mind/mind-favicon.png",
"description": "Manage stress and anxiety through self-care practices and empowering affirmations. Embark on a journey of self-love."
},
"steps": [
{
"type": "interstitial",
"stepId": "psychological_flexibility",
"config": {
"id": "psychological_flexibility",
"title": "",
"image": "https://c.thefab.co/web-onboarding/mind/inter_infographic_elixir_opt.webp",
"color_cta": "#003788",
"color_cta_button": "#FFFFFF",
"showButtonsDelay": 300,
"subtitle": "",
"hide_close_icon": true,
"mode": "BOLD",
"color_background": "#003788",
"cta": "Continue",
"textColor": "#FFFFFF"
}
},
{
"stepId": "multi-progress-step",
"type": "multiProgress",
"title": "Charting Best Fit Plan",
"titleColor": "black",
"backgroundColor": "white",
"subtitle": "Sit tight! We're building your perfect plan, based on millions of data points from successful Fabulous users",
"subtitleColor": "gray",
"useHTML": false,
"bars": [
{
"label": "Healthy Habits Data",
"labelColor": "#FF5C45",
"backgroundColorFilled": "linear-gradient(90deg, #FF8B45 0%, #FF5C45 100%)",
"borderColorEmpty": "#FFE1D8",
"animation": [
{ "to": 25, "duration": 500, "delay": 1000 },
{
"to": 50,
"duration": 500,
"delay": 1000,
"prompt": {
"image": "https://storage.googleapis.com/c.thefab.co/web-onboarding/fabulous/book_icecream.png",
"title": "Do you have a habit you're trying to break?",
"titleColor": "#14191D",
"backgroundColor": "#FFF",
"choices": [
{
"text": "Yes",
"color": "#FFFFF",
"backgroundColor": "#3425B8",
"hoverBackgroundColor": "#251990"
},
{
"text": "No",
"color": "#332BB0",
"backgroundColor": "#ECEAFF",
"hoverBackgroundColor": "#CFCDE3"
}
]
}
},
{ "to": 75, "duration": 500, "delay": 1000 },
{ "to": 100, "duration": 500, "delay": 1000 }
]
},
{
"label": "Users performance",
"labelColor": "#376FFF",
"backgroundColorFilled": "linear-gradient(90deg, #376FFF 0%, #342AC1 100%)",
"borderColorEmpty": "#D5E1FF",
"animation": [
{
"to": 50,
"duration": 500,
"delay": 1000,
"prompt": {
"image": "https://storage.googleapis.com/c.thefab.co/web-onboarding/fabulous/book_icecream.png",
"title": "Do you have a habit you're trying to break?",
"titleColor": "#14191D",
"backgroundColor": "#FFF",
"choices": [
{
"text": "Yes",
"color": "#FFFFF",
"backgroundColor": "#3425B8",
"hoverBackgroundColor": "#251990"
},
{
"text": "No",
"color": "#332BB0",
"backgroundColor": "#ECEAFF",
"hoverBackgroundColor": "#CFCDE3"
}
]
}
},
{ "to": 75, "duration": 500, "delay": 1000 },
{ "to": 100, "duration": 500, "delay": 1000 }
]
},
{
"label": "Morning Routine Ideas",
"labelColor": "#E563B2",
"backgroundColorFilled": "linear-gradient(90deg, #E563B2 0%, #D60F88 100%)",
"borderColorEmpty": "#FFE3ED",
"animation": [
{ "to": 25, "duration": 500, "delay": 1000 },
{ "to": 75, "duration": 500, "delay": 1000 },
{ "to": 100, "duration": 500, "delay": 1000 }
]
},
{
"label": "Afternoon Routine Ideas",
"labelColor": "#62942A",
"backgroundColorFilled": "linear-gradient(90deg, #62942A 0%, #006F3F 100%)",
"borderColorEmpty": "#E5F3D8",
"animation": [
{ "to": 25, "duration": 500, "delay": 1000 },
{ "to": 50, "duration": 500, "delay": 1000 },
{ "to": 75, "duration": 500, "delay": 1000 },
{ "to": 100, "duration": 500, "delay": 1000 }
]
},
{
"label": "Evening Routine Ideas",
"labelColor": "#25B5C1",
"backgroundColorFilled": "linear-gradient(90deg, #25B5C1 0%, #00679F 100%)",
"borderColorEmpty": "#DDF3F5",
"animation": [
{ "to": 25, "duration": 500, "delay": 1000 },
{ "to": 50, "duration": 500, "delay": 1000 },
{ "to": 75, "duration": 500, "delay": 1000 },
{ "to": 100, "duration": 500, "delay": 1000 }
]
},
{
"label": "Behaviour Change Data",
"labelColor": "#FFA800",
"backgroundColorFilled": "linear-gradient(90deg, #FFA800 0%, #F68300 100%)",
"borderColorEmpty": "#FFF0D2",
"animation": [
{ "to": 25, "duration": 500, "delay": 1000 },
{ "to": 50, "duration": 500, "delay": 1000 },
{ "to": 75, "duration": 500, "delay": 1000 },
{ "to": 100, "duration": 500, "delay": 1000 }
]
},
{
"label": "Demographic profile",
"labelColor": "#5942EF",
"backgroundColorFilled": "linear-gradient(90deg, #5942EF 0%, #342AC1 100%)",
"borderColorEmpty": "#E2E4FF",
"animation": [
{ "to": 25, "duration": 500, "delay": 1000 },
{ "to": 50, "duration": 500, "delay": 1000 },
{ "to": 75, "duration": 500, "delay": 1000 },
{ "to": 100, "duration": 500, "delay": 1000 }
]
}
]
},
{
"type": "interstitial",
"stepId": "psychological_flexibility",
"config": {
"id": "psychological_flexibility",
"title": "",
"image": "https://c.thefab.co/web-onboarding/mind/inter_infographic_elixir_opt.webp",
"color_cta": "#003788",
"color_cta_button": "#FFFFFF",
"showButtonsDelay": 300,
"subtitle": "",
"hide_close_icon": true,
"mode": "BOLD",
"color_background": "#003788",
"cta": "Continue",
"textColor": "#FFFFFF"
}
}
],
"logic": []
}